package com.movie.modules.jf.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.movie.modules.jf.entity.MovieCommentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 电影评论表
 * 
 * @author kakarot
 * @email 532050892@qq.com
 * @date 2021-08-20 01:31:10
 */
@Mapper
public interface MovieCommentDao extends BaseMapper<MovieCommentEntity> {
	IPage<MovieCommentEntity> getCommentByVipId(IPage<MovieCommentEntity> page, @Param("vipId") Integer vipId);

	IPage<MovieCommentEntity> getCommentByMovieId(IPage<MovieCommentEntity> page,@Param("movieId") Integer movieId);
}
